package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.common.Result;
import com.example.domain.entity.Orders;
import com.example.domain.entity.Params;
import com.example.domain.entity.Reserve;
import com.example.domain.entity.Room;
import com.example.domain.vo.OrdersVo;

import java.util.List;

public interface OrderService {


    Result addOrders(OrdersVo vo);

    Result pay(Orders orders);

    Page<OrdersVo> findBySearch(Params params);

    void confirm(Orders orders);

    void cancel(Orders orders);

    void pass(Orders orders);
}